﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Prowess.OIS.ModelEntity;

namespace Prowess.OIS.Service
{

    public class OISService:IOISService
    {
        public string TestConnection()
        {
            return "Success";
        }
#region Configuration Service
        public ModelEntity.DatabaseConfigurationModelEntity GetDatabaseConfig()
        {
            return new ModelEntity.DatabaseConfigurationModelEntity();
        }

        public void UpdateDatabaseConfig(DatabaseConfigurationModelEntity databaseConfig)
        {
            databaseConfig.Save();
        }

        public bool TestDatabaseConnection(DatabaseConfigurationModelEntity databaseConfig)
        {
            throw new NotImplementedException();
        }

        public void CreateDatabase()
        {
            throw new NotImplementedException();
        }
#endregion

        
    }
}
